home *** CD-ROM | disk | FTP | other *** search
-
- ps
-
- Display process status information. The first line shows the time
- the system has been running, the active stack segment, and the
- interrupt stack usage. Next it displays all processes in the system.
- The fields are as follows:
-
- PID - Process ID (the segment of the process descriptor).
-
- SP - The current value of this process' stack pointer.
-
- stksize - The size of the stack allocated to this process.
-
- maxstk - The apparent peak stack utilization of this process.
- This is done in a somewhat heuristic fashion, so the numbers
- should be treated as approximate. If this number is close to the
- stksize figure, the system is likely to crash. Please notify the
- author if you examine such a situation. (The program should be
- recompiled to give the process a larger allocation when it is
- started.)
-
- event - The event this process is waiting for, if it is not
- runnable.
-
- fl - Process status flags. There are three: I (Interrupts
- enabled), W (Waiting for event) and S (suspended). The I flag
- is set whenever a task has executed a pwait() call (wait for
- event) without first disabling hardware interrupts. Only tasks
- that wait for hardware interrupt events will turn off this flag;
- this is done to avoid critical sections and missed interrupts.
- The W flag indicates that the process is waiting for an
- event; the 'event' column will be non-blank. Note that although
- there may be several runnable processes at any time (shown in
- the 'ps' listing as those without the W flag and with blank event
- fields) only one process is actually running at any one instant
- (The Refrigerator Light Effect says that the 'ps' command is
- always the one running when this display is generated.)
-
-
-
-